package com.kwedding.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kwedding.bean.TB_Schedule;

public interface TB_ScheduleMapper {

	TB_Schedule selectbyPrimaryKey(@Param("scheduleId") Long scheduleId);

	TB_Schedule selectByDateAndBrandId(@Param("scheduleDay") Date scheduleDay, @Param("brandId") Long brandId);

	TB_Schedule selectByDateAndScheduleId(@Param("scheduleDay") Date scheduleDay, @Param("scheduleId") Long scheduleId);

	int insert(TB_Schedule tb_Schedule);

	int updateSelective(TB_Schedule tb_Schedule);

	List<TB_Schedule> getListByMonth(@Param("time") String time, @Param("brandId") Long brandId);

	List<TB_Schedule> getListByDate(@Param("brandId") Long brandId, @Param("queryDate") String queryDate);
}
